<?php

namespace Drupal\s_commerce_service\ViewsController\handler\filter;

use Drupal\s_commerce_service\ViewsController\Traits\SCommerceServiceLineStatusTrait;
use views_handler_filter_in_operator;

class SCommerceServiceLineStatusViewsFilter extends views_handler_filter_in_operator {

  use SCommerceServiceLineStatusTrait;

  function get_value_options() {
    if (!isset($this->value_options)) {
      $this->value_title = "状态 0 待审核 1 待退款 2 已完成 3 拒绝 4 待退货";
      $this->value_options = $this->getStatusOptions();
    }
  }
}
